package com.xintai.sparepart.purchase.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 采购申请明细对象 bei_purchase_item
 *
 * @author xintai
 * @date 2021-02-21
 */
public class BeiPurchaseItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long beiId;

    /** 主表主键ID */
    @Excel(name = "主表主键ID")
    private Long purchaseId;

    /** 货品ID */
    @Excel(name = "货品ID")
    private Long proId;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal beiNum;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal beiPrice;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal beiMoney;

    /** 备注 */
    @Excel(name = "备注")
    private String beiRemark;

    /** 建议厂家 */
    @Excel(name = "建议厂家")
    private String beiJycj;

    /** 采购期限-天 */
    @Excel(name = "采购期限-天")
    private Long beiDaynum;

    /** 付款类型  FuKuanType  */
    @Excel(name = "付款类型  FuKuanType ")
    private String beiFktype;

    /** 税率，百分比值， 如: 13% =  13  */
    @Excel(name = "税率，百分比值， 如: 13% =  13 ")
    private BigDecimal beiShuilv;

    /** 有无真实合同 0 ： 无， 1 ： 是 */
    @Excel(name = "有无真实合同 0 ： 无， 1 ： 是")
    private Long beiIsht;

    /** 合同签订人 */
    @Excel(name = "合同签订人")
    private String beiHtname;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String beiHtcode;

    /** 合同交货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同交货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beiJhtime;

    /** 是否删除 0：不删 ,1:删除*/
    private Integer status = 0;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setBeiId(Long beiId)
    {
        this.beiId = beiId;
    }

    public Long getBeiId()
    {
        return beiId;
    }
    public void setPurchaseId(Long purchaseId)
    {
        this.purchaseId = purchaseId;
    }

    public Long getPurchaseId()
    {
        return purchaseId;
    }
    public void setProId(Long proId)
    {
        this.proId = proId;
    }

    public Long getProId()
    {
        return proId;
    }
    public void setBeiNum(BigDecimal beiNum)
    {
        this.beiNum = beiNum;
    }

    public BigDecimal getBeiNum()
    {
        return beiNum;
    }
    public void setBeiPrice(BigDecimal beiPrice)
    {
        this.beiPrice = beiPrice;
    }

    public BigDecimal getBeiPrice()
    {
        return beiPrice;
    }
    public void setBeiMoney(BigDecimal beiMoney)
    {
        this.beiMoney = beiMoney;
    }

    public BigDecimal getBeiMoney()
    {
        return beiMoney;
    }
    public void setBeiRemark(String beiRemark)
    {
        this.beiRemark = beiRemark;
    }

    public String getBeiRemark()
    {
        return beiRemark;
    }
    public void setBeiJycj(String beiJycj)
    {
        this.beiJycj = beiJycj;
    }

    public String getBeiJycj()
    {
        return beiJycj;
    }
    public void setBeiDaynum(Long beiDaynum)
    {
        this.beiDaynum = beiDaynum;
    }

    public Long getBeiDaynum()
    {
        return beiDaynum;
    }
    public void setBeiFktype(String beiFktype)
    {
        this.beiFktype = beiFktype;
    }

    public String getBeiFktype()
    {
        return beiFktype;
    }
    public void setBeiShuilv(BigDecimal beiShuilv)
    {
        this.beiShuilv = beiShuilv;
    }

    public BigDecimal getBeiShuilv()
    {
        return beiShuilv;
    }
    public void setBeiIsht(Long beiIsht)
    {
        this.beiIsht = beiIsht;
    }

    public Long getBeiIsht()
    {
        return beiIsht;
    }
    public void setBeiHtname(String beiHtname)
    {
        this.beiHtname = beiHtname;
    }

    public String getBeiHtname()
    {
        return beiHtname;
    }
    public void setBeiHtcode(String beiHtcode)
    {
        this.beiHtcode = beiHtcode;
    }

    public String getBeiHtcode()
    {
        return beiHtcode;
    }
    public void setBeiJhtime(Date beiJhtime)
    {
        this.beiJhtime = beiJhtime;
    }

    public Date getBeiJhtime()
    {
        return beiJhtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("beiId", getBeiId())
                .append("purchaseId", getPurchaseId())
                .append("proId", getProId())
                .append("beiNum", getBeiNum())
                .append("beiPrice", getBeiPrice())
                .append("beiMoney", getBeiMoney())
                .append("beiRemark", getBeiRemark())
                .append("beiJycj", getBeiJycj())
                .append("beiDaynum", getBeiDaynum())
                .append("beiFktype", getBeiFktype())
                .append("beiShuilv", getBeiShuilv())
                .append("beiIsht", getBeiIsht())
                .append("beiHtname", getBeiHtname())
                .append("beiHtcode", getBeiHtcode())
                .append("beiJhtime", getBeiJhtime())
                .toString();
    }
}
